package com.smm.web.vmc.service;

import com.smm.web.vmc.domain.Admin;

/**
 * Created by zhenghao on 2016/9/6.
 *
 */
public interface AdminService {

    String _ADMIN_IN_SESSION ="_ADMIN_IN_SESSION";


    /**
     * 管理员登陆，成功返回 admin 对象，否则返回 null
     * @param account
     * @param password
     * @return
     */
    Admin login(String account,String password);

    void update(Admin admin) throws Exception;
}
